package com.tz.oa.sysmanage.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
@Data
@Getter
@Setter
public class UserInformation {
    private Integer userId;

    private String userName;

    private String passWord;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthday;


    @Override
    public String toString() {
        return "UserInformation{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", passWord='" + passWord + '\'' +
                ", birthday=" + birthday +
                '}';
    }
}